/**
 * @(#) DataEntity.java
 */

package cn.edu.sjtu.se.dslab.component.data;

import java.util.Set;

//@Entity
//@Table(name="data_entity")
//@PrimaryKeyJoinColumn(name="id")
public class DataEntity extends DomainEntity {
	private static final long serialVersionUID = 1L;

	private Set<DataAttribute> attributes;

	private Set<Operation> opertions;

	// @OneToMany(cascade={CascadeType.ALL},mappedBy="entity")
	public Set<DataAttribute> getAttributes() {
		return attributes;
	}

	public void setAttributes(Set<DataAttribute> attributes) {
		this.attributes = attributes;
	}

	// @OneToMany(cascade={CascadeType.ALL},mappedBy="entity")
	public Set<Operation> getOpertions() {
		return opertions;
	}

	public void setOpertions(Set<Operation> opertions) {
		this.opertions = opertions;
	}

}
